<%@ tag %>
<%@ attribute name="label" required="false" %>
<%@ attribute name="labelStyle" required="false" %>
<%@ attribute name="property" required="true" %>
<%@ attribute name="size" required="false" %>
<%@ attribute name="styleId" required="false" %>

<%-- jstl taglibs --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%-- struts taglibs --%>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>

<c:if test="${empty labelStyle}">
	<c:set var="labelStyle">
		label
	</c:set>
</c:if>

<!--form:text-->
<div class="textTag">
	<label class="${labelStyle}" >${label}</label>
	<div class="formValue">
		<input type="password" name="${property}" size="${size}">
	</div>
	<div class="message"><html:errors property="${property}" /></div>
	<jsp:doBody/>
</div>